package com.kaizzi.data.jdl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kaizzi.data.common.been.TempBeen;
import com.kaizzi.data.jdl.entity.TeamList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Kzen
 * @Description description
 * @date 2020/9/16
 */
public interface TeamListMapper extends BaseMapper<TeamList> {
    List<TempBeen> getTeamArea(@Param("startDate") String startDate, @Param("endDate")String endDate);
    Long getTeamArea4(@Param("startDate") String startDate, @Param("endDate")String endDate);
    List<TempBeen> getYtdTeamSportType(@Param("startDate") String startDate, @Param("endDate")String endDate);
    //一次 - 三次
    List<TempBeen> getYtdTeamFrequency(@Param("startDate") String startDate, @Param("endDate")String endDate);
    //三次以上
    List<TempBeen> getYtdTeamFrequency2(@Param("startDate") String startDate, @Param("endDate")String endDate);

    List<TempBeen> getYtdTypeCount(@Param("startDate") String startDate, @Param("endDate")String endDate);
    List<TempBeen> getTeamSuccessCount(@Param("startDate") String startDate, @Param("endDate")String endDate);
    List<TempBeen> getTeamFailCount(@Param("startDate") String startDate, @Param("endDate")String endDate);
}
